home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / asmutil / asm_n_z.zip / SWAPOUT.DOC < prev    next >
Text File  |  1989-07-16  |  1KB  |  31 lines

  1. SWAP [options] command [command-parameters] [> fileid]
  2. Brackets indicate optional parameters.
  3. Valid SWAP options are:
  4.  
  5.         -C   Copy redirected output to the console.
  6.         -D   Disk file C:\SWAP.DAT is used instead of expanded memory.
  7.         -F   Forces SWAP to continue even if an interrupt vector points
  8.              to the Swappee.
  9.         -Q   Quiet operation.  Informational messages are not displayed.
  10.  
  11. "Command" is any command that can be issued at the DOS prompt.
  12. "command-parameters" are parameters or options for the command.
  13. "fielid" is a DOS file or device to which output from the command
  14. line can be directed.
  15.  
  16. Example: "SWAP  tcc -c myfile.c"
  17.  
  18. SWAP is a program by Nico Mak written in 100% MASM or TASM compatible
  19. assembly language.  Its function is to swap out a current application
  20. to make available more memory for a second application to be loaded.
  21. An example would be calling a compiler from an editor.  The editor
  22. would be swapped out, either to disk or expanded memory, making
  23. the memory normally reserved by the editor available to the compiler.
  24. COMMAND.COM must be in memory immediately before SWAP is called or
  25. the program will not work.  Thus, the calling program should spawn
  26. a copy of COMMAND.COM to execute the DOS command you request.  For
  27. more information, consult "Dr. Dobb's Journal", April 1989.
  28.  
  29. ------------------------------------------------------------------
  30. Copyright (c) 1988 by Nico Mak and Mansfield Software Group.
  31.